# base image
FROM index.mindcoder.cn/docker/centos/python

# MAINTAINER
LABEL Author="yanjingtu<yanjingtu2008@yeah.net>"

# add file
ADD scripts /scripts

# run command
RUN chmod +x /scripts/*.sh && cd /scripts && ./install-autotest.sh
RUN rm -rf /scripts

WORKDIR /opt/app-root/src

# ports
EXPOSE 5000

# volumes
VOLUME ["/mnt"]

# main command
CMD ["/bin/bash", "/runall.sh"]

